package com.chixing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author smith
 * @since 2025-09-30
 */
@TableName("check_out")
public class CheckOut implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "checkout_id", type = IdType.AUTO)
    private Long checkoutId;

    private Long orderId;

    private Long userId;

    private Long roomId;

    private LocalDateTime checkoutTime;

    /**
     * 正常退房/延迟退房/提前退房
     */
    private String status;

    private BigDecimal extraFee;

    private String remark;

    public Long getCheckoutId() {
        return checkoutId;
    }

    public void setCheckoutId(Long checkoutId) {
        this.checkoutId = checkoutId;
    }
    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public Long getRoomId() {
        return roomId;
    }

    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }
    public LocalDateTime getCheckoutTime() {
        return checkoutTime;
    }

    public void setCheckoutTime(LocalDateTime checkoutTime) {
        this.checkoutTime = checkoutTime;
    }
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    public BigDecimal getExtraFee() {
        return extraFee;
    }

    public void setExtraFee(BigDecimal extraFee) {
        this.extraFee = extraFee;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "CheckOut{" +
            "checkoutId=" + checkoutId +
            ", orderId=" + orderId +
            ", userId=" + userId +
            ", roomId=" + roomId +
            ", checkoutTime=" + checkoutTime +
            ", status=" + status +
            ", extraFee=" + extraFee +
            ", remark=" + remark +
        "}";
    }
}
